package com.wmyg.antifake.service;

import com.wmyg.antifake.bean.FactorySumInfo;
import com.wmyg.antifake.bean.QRInfo;
import com.wmyg.antifake.bean.QueryInfo;

import javax.websocket.Session;
import java.util.List;

public interface AsyncTaskService {

    void selectCaseIdCountAsync(int factoryId, Session s);

    void selectFactorySumCountAsync(int factoryId, Session s);

    void selectDeviceInfoCountAsync(int factorId, Session s);

    void selectFactoryByIdSum(int factorId,Session session);

    void syncDataFabricAndRedis(String qR, QueryInfo queryInfo);

    QRInfo sendTrackMessage(String qR, QueryInfo queryInfo) throws Throwable;
}
